#-------------------------------------------------
#
# Project created by QtCreator 2012-05-21T15:42:20
#
#-------------------------------------------------

QT       += core gui opengl

TARGET = App
TEMPLATE = app

PRECOMPILED_HEADER = ./pheader.h
precompile_header:!isEmpty(PRECOMPILED_HEADER)
{
    DEFINES += USING_PCH
}

SOURCES += main.cpp\
        mainwindow.cpp \
    src/drawingview.cpp \
    src/drawingviewcontainer.cpp \
    src/dialogs/dlgnewdocument.cpp \
    src/dialogs/viewdocuments.cpp \
    application.cpp \
    src/dialogs/viewdocumentslistmodel.cpp \
    src/widgets/toolswidget.cpp \
    src/widgets/toolaction.cpp \
    src/tools/toolselect.cpp \
    src/tools/toolrotate.cpp \
    src/tools/toolmove.cpp \
    src/selection/elementselector.cpp \
    src/selection/selectionmanager.cpp \
    src/tools/toolcreateline.cpp

HEADERS  += mainwindow.h \
    src/drawingview.h \
    src/drawingviewcontainer.h \
    pheader.h \
    src/dialogs/dlgnewdocument.h \
    src/dialogs/viewdocuments.h \
    application.h \
    src/dialogs/viewdocumentslistmodel.h \
    src/widgets/toolswidget.h \
    src/widgets/toolaction.h \
    src/tools/toolselect.h \
    src/tools/toolrotate.h \
    src/tools/toolmove.h \
    src/selection/elementselector.h \
    src/selection/selectionmanager.h \
    src/tools/toolcreateline.h

FORMS    += mainwindow.ui \
    src/dialogs/dlgnewdocument.ui \
    src/dialogs/viewdocuments.ui

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../Core/release/ -lCore
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../Core/debug/ -lCore
else:symbian: LIBS += -lCore
else:unix: LIBS += -L$$PWD/../Core/ -lCore

INCLUDEPATH += $$PWD/../Core/include $(BOOST)
DEPENDPATH += $$PWD/../Core/include

win32:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../Core/release/Core.lib
else:win32:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../Core/debug/Core.lib
else:unix:!symbian: PRE_TARGETDEPS += $$PWD/../Core/libCore.a

OTHER_FILES +=

RESOURCES += \
    resources.qrc
